package com.liholin.springboot.sample;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@EnableAspectJAutoProxy(proxyTargetClass = true)
@MapperScan("com.liholin.springboot.sample.mapper")
public class SpringBootSampleApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(SpringBootSampleApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
